/*
 *  powerup.h
 *  
 *
 *  Created by Nicholas Blecha on 11/29/10.
 *  Copyright 2010 Michigan Technological University. All rights reserved.
 *
 */

#ifndef POWERUP_H
#define POWERUP_H

#define HEALTH 0
#define SHIELD 1
#define MISSILE 2

#include "fighter.h"

class Powerup : public Sprite {
public:
	Powerup(Renderer*);
	void init(int, int, int);
	virtual ~Powerup();
	void collect(Fighter*);
	void show(int, int);
	bool isHidden();
	void hide();
private:
	SDL_Surface * images[3];
	GLuint texIDs[3];
	int type;
	bool hidden;
};

#endif
